package com.example.child_protection.dao;

import com.example.child_protection.model.ChildArchivesValuesModel;
import com.example.child_protection.model.ChildOtherInfoModel;
import org.springframework.stereotype.Repository;

/**
 * 档案扩容信息dao
 * @author Biz
 */
@Repository
public interface ChildOtherInfoDao extends BaseDao<ChildOtherInfoModel,Long> {

    /**
     * @Title: findByArchivesId
     * @Description: id查询
     * @param id
     * @return
     * @return MODEL
     */
    public ChildOtherInfoModel findByArchivesId( Long id );

    /**
     * @Title: updateSelectiveByArchivesId
     * @Description: 根据档案id修改
     * @param model
     * @return
     * @return int
     */
    public int updateSelectiveByArchivesId( ChildOtherInfoModel model );

}